]> dgit.raspbian.org Git - gnome-shell.git/commit
tray/na-xembed: Use XShape to remove input on socket window
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 1 May 2024 20:34:58 +0000 (22:34 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 13 Sep 2025 16:59:49 +0000 (18:59 +0200)
commita56a477690e3b29fd98ba93bcb2aad34a0b4fa64
tree0068141d41d58b1cc6f7d266fc01a6a6bfab22cb
parentd0547bab0c0cc1b84c1982d46e8d3728b5d659da
tray/na-xembed: Use XShape to remove input on socket window

We don't want this window to take any input as, a part from blocking the
events on the shell representation itself, they may potentially make the
plugged window to do anything with the event is processing (such as
showing tooltips). And we don't want this since we only want to send to
those windows only the synthetic events that we explicitly control.

This was already the case before of commit ab60902058 but a similar
approach was not replicated, leading to input events being fully
processed from tray icons plugs.

It requires adding an explicit build dependency on Xext, but this is
something that mutter already depends on so not really a new dependency

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7613
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3818>
(cherry picked from commit 2e97a453290983a3f634153b86a560660896421b)
meson.build
src/tray/meson.build
src/tray/na-xembed.c